package org.dromara.product.domain;

import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;

import java.io.Serial;

/**
 * 入库关联对象 ky_stock_in_relations
 *
 * @author kuyu
 * @date 2023-12-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("ky_stock_in_relations")
public class KyStockInRelations extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id")
    private Long id;

    /**
     *
     */
    private String productId;

    /**
     *
     */
    private String warehouseId;

    /**
     * 入库前数量
     */
    private BigDecimal beforeNum;

    /**
     * 入库批次号
     */
    private String bathInNo;

    /**
     * 入库id
     */
    private Long inRecordId;

    /**
     * 入库编号
     */
    private String inRecordNo;

    /**
     * 出库状态：拒绝-1,申请0,审核中1,通过2
     */
    private Integer status;

    /**
     * 审核等级
     */
    private Integer approveLevel;

    /**
     * 单据打印次数
     */
    private Long printNum;

    /**
     *
     */
    private Long mid;

    /**
     * 供应商id
     */
    private Long supplyId;

    /**
     *
     */
    private String images;

    /**
     * 调拨关联id
     */
    private Long transOutId;

    /**
     *
     */
    private BigDecimal number;

    /**
     *
     */
    private BigDecimal price;

    /**
     * 总价
     */
    private BigDecimal totalMoney;

    /**
     *
     */
    private String item;

    /**
     * 商品名称{name:'',categoty:'',unit:''}
     */
    private String productInfo;

    /**
     *
     */
    private String mark;

    /**
     *
     */
    private Long inTypeId;

    /**
     *
     */
    private String custom;

    /**
     *
     */
    private Long fromWarehouseId;

    /**
     *
     */
    private String fromZoneId;

    /**
     *
     */
    private Long zoneId;


}
